Skip to content

Commit 403aa24

Browse files
committed
ci: fix bug in Taskgraph release graphs
1 parent 8197cf8 commit 403aa24

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

taskcluster/self_taskgraph/custom_target_tasks.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ def target_tasks_release(full_task_graph, parameters, graph_config):
99

1010
# Ensure we don't run `taskcluster-taskgraph` release tasks when publishing
1111
# `pytest-taskgraph`.
12-
head_ref = parameters.rsplit("/", 1)[-1]
12+
head_ref = parameters["head_ref"].rsplit("/", 1)[-1]
1313
if head_ref.startswith("pytest-taskgraph"):
1414
tasks = {
1515
l: t

0 commit comments

Comments
 (0)